let ROOTPATH = "http://161.117.177.58"; //测试

if (process.env.NODE_ENV === 'development') {
	ROOTPATH = "http://192.168.9.121:9999";
	// ROOTPATH = "http://192.168.0.193";//尤畅
	console.log('开发环境:' + ROOTPATH)
} else {
	ROOTPATH = "http://localhost:9999";
	console.log('生产环境:' + ROOTPATH)
}
const APIPATH = "/dos-app/h5/"
const WEIGUOPATH = "/weiguo"
const IMGPATH = "/storage"
const LOGIMG = '/static/img/log.png'
const DEFAULTPAGE = 'pages/tabBar/home/home' //定义该页面时不能加"/",在后续逻辑中有补充

module.exports = {
	APIHOST: ROOTPATH,
	APIPATH: APIPATH,
	IMGPATH: IMGPATH,
	DEFAULTPAGE: DEFAULTPAGE,
	LOGIMG: LOGIMG,
}
